package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TPurchase;

/**
 * Mapper接口
 * @date 2021-03-24
 */
public interface TPurchaseMapper
{
    /**
     * 查询
     */
    public TPurchase selectTPurchaseById(Long purchaseId);

    /**
     * 查询
     */
    public List<TPurchase> selectTPurchaseList(TPurchase tPurchase);

    List<TPurchase> selectTPurchaseListAll();

    /**
     * 新增
     */
    public int insertTPurchase(TPurchase tPurchase);

    /**
     * 修改
     */
    public int updateTPurchase(TPurchase tPurchase);

    /**
     * 删除
     */
    public int deleteTPurchaseById(Long purchaseId);

    /**
     * 批量删除
     */
    public int deleteTPurchaseByIds(String[] purchaseIds);
}